package com.yj_app.qualitytest.info;

import android.text.TextUtils;

import java.io.Serializable;

public class Loginfo implements Serializable {

    /**
     * success : true
     * msg : 登录成功
     * guid : 9394bf1bbb304544b3b6c8fac4e44334
     * nickname : 陈光宇
     */
//    {"method":3,"msg":"登录成功!","success":true,"code":"chengy","psw":"111111"}
    private boolean success;
    private String msg;
    private String guid;
    private String nickname;
    private String code;

    public String getCode() {
        return TextUtils.isEmpty(code) ? "" : code;
    }

    public void setCode(String code) {
        this.code = (TextUtils.isEmpty(code) ? "" : code);
    }


    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
